package com.group.mapper;

import com.group.pojo.Friends;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author group
 * @since 2021-09-06
 */
public interface FriendsMapper extends BaseMapper<Friends> {

    /**
     * 查询地址
     * @param friends
     * @return
     */
    List<Friends> findAllfriends(Friends friends);

    /**
     * 修改内容信息
     * @param friends
     * @return
     */
    boolean updateFriends(Friends friends);

    /**
     * 删除信息
     * @param friendsid
     * @return
     */
    boolean deleteFriends(String friendsid[]);

    /**
     * 添加
     * @param friends
     * @return
     */
    boolean addFriends(Friends friends);

    /**
     * 审核是否通过
     * @param friends
     * @return
     */
    boolean updateFriendsExamine(String friends[],Integer friendsexamine);
}
